/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package thienphuc.patient.bo;

import java.util.List;
import thienphuc.patient.dto.TrieuChung;

/**
 *
 * @author QuocDat
 */
public interface TrieuChungBO {

    /**
     * Get all TrieuChung
     * @return
     * @throws Exception 
     */
    List<TrieuChung> getAll() throws Exception;
    
    /**
     * Get TrieuChung by MaTrieuChung
     * @param maTrieuChung
     * @return
     * @throws Exception 
     */
    TrieuChung getById(int maTrieuChung) throws Exception;
    
    /**
     * Get TrieuChung by TenTrieuChung
     * @param tenTrieuChung
     * @return
     * @throws Exception 
     */
    List<TrieuChung> getByTenTrieuChung(String tenTrieuChung) throws Exception;
    
    /**
     * Insert TrieuChung
     * @param trieuChung
     * @return
     * @throws Exception n
     */
    boolean insertTrieuChung(TrieuChung trieuChung) throws Exception;
    
    /**
     * Update TrieuChung
     * @param trieuChung
     * @return
     * @throws Exception 
     */
    boolean updateTrieuChung(TrieuChung trieuChung) throws Exception;
    
}
